/*
*
* CmsCommentsReplyMapper.java
* Copyright(C) 2017-2020 DHCC
* @date 2020-11-17
*/
package com.cluster.platform.mapper;

import java.util.List;

import com.cluster.platform.model.CmsCommentsReply;
import com.cluster.platform.model.CmsCommentsReplyExample;
import org.apache.ibatis.annotations.Param;

public interface CmsCommentsReplyMapper {
    /**
     *
     * @mbg.generated 2020-11-17
     */
    long countByExample(CmsCommentsReplyExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int deleteByExample(CmsCommentsReplyExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int deleteByPrimaryKey(String id);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int insert(CmsCommentsReply record);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int insertSelective(CmsCommentsReply record);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    List<CmsCommentsReply> selectByExample(CmsCommentsReplyExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    CmsCommentsReply selectByPrimaryKey(String id);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByExampleSelective(@Param("record") CmsCommentsReply record, @Param("example") CmsCommentsReplyExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByExample(@Param("record") CmsCommentsReply record, @Param("example") CmsCommentsReplyExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByPrimaryKeySelective(CmsCommentsReply record);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByPrimaryKey(CmsCommentsReply record);

    /**
     * 条件查询
     */
    List<CmsCommentsReply> searchCommentsReplyList(CmsCommentsReply cmsCommentsReply);

    /**
     * 批量删除-逻辑
     */
    int batchDeleteCommentsReply(@Param("cmsCommentsReplies") List<CmsCommentsReply> cmsCommentsReplies);
}